all: future promise packaged_task future_async_throw

future: future.cc
	g++ $< -o $@ -std=c++17 -lpthread
promise: promise.cc
	g++ $< -o $@ -std=c++17 -lpthread
packaged_task: packaged_task.cc
	g++ $< -o $@ -std=c++17 -lpthread
future_async_throw: future_async_throw.cc
	g++ $< -o $@ -std=c++17 -lpthread

.PHONY:clean all
clean:
	rm -rf async promise packaged_task future_async_throw